package org.icosagon.core.character.traits;

import org.icosagon.core.Modifiable;
import org.icosagon.core.Definable;

/**
 *
 * @author Daniel Owens
 */
public class Skill extends Definable implements Modifiable {
    private int points;
    private Ability ability = null;
    
    public Skill() {
    }

    public Skill(String name) {
        this.setName(name);
    }
    
    public void setValue(int value) {
        this.points = value;
    }
    
    public int getValue() {
        return this.points;
    }
    
    public void setAbility(Ability value) {
        this.ability = value;
    }
}